﻿@model Project.Models.cambiarPassword

@{
    ViewBag.Title = "CambiarPassword";
    Layout = "~/Views/Shared/_LayoutSingIn1.cshtml";
}

 

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Cambiar mi Password</legend>
        <table style="width: 100%;">
            <tr>
                <td>   @Html.LabelFor(model => model.OldPassword,"Password Actual:")</td>
                <td>@Html.EditorFor(model => model.OldPassword)
            @Html.ValidationMessageFor(model => model.OldPassword)</td>
              
            </tr>
            <tr>
                <td>   @Html.LabelFor(model => model.NewPassword, "Nuevo Password:")</td>
                <td>  @Html.EditorFor(model => model.NewPassword)
            @Html.ValidationMessageFor(model => model.NewPassword)</td>
             
            </tr>
            <tr>
                <td>   @Html.LabelFor(model => model.ConfirmPassword, "Confirme su Password:")</td>
                <td> @Html.EditorFor(model => model.ConfirmPassword)
            @Html.ValidationMessageFor(model => model.ConfirmPassword)</td>
             
            </tr>
        </table>
       

        <p>
            <input type="submit" value="Cambiar" />
        </p>
    </fieldset>
}
<div>
    @Html.ActionLink("<-- Volver", "Configuracion")
</div>
 
